getApp();

Component({
    properties: {
        info: {
            type: null,
            value: null
        }
    },
    data: {},
    methods: {
        tapVideo: function(e) {
            console.log(e), wx.navigateTo({
                url: "/packageC/video_goods/VideoList/VideoList"
            });
        },
        toArticle: function(e) {
            var t = e.currentTarget.dataset.id;
            e.currentTarget.dataset.is_audio ? wx.navigateTo({
                url: "/packageA/member/course/VoiceDetail/VoiceDetail?article_id=" + t
            }) : wx.navigateTo({
                url: "/packageA/member/article/articleContent/articleContent?article_id=" + t
            });
        },
        toVideo: function(e) {
            var t = e.currentTarget.dataset.id;
            wx.navigateTo({
                url: "/packageC/video_goods/VideoDetail/VideoDetail?vid=" + t
            });
        }
    }
});